package com.ruoyi.generator.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 单设计__单属性事件配置对象 sys_from_build_form_config
 *
 * @author ZGL
 * @date 2025-03-07
 */
public class FromBuildFormConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 表单设计标识 */
    @Excel(name = "表单设计标识")
    private String buildKey;

    /** 表单名（ref） */
    @Excel(name = "表单名", readConverterExp = "r=ef")
    private String formRef;

    /** 表单模型 */
    @Excel(name = "表单模型")
    private String formModel;

    /** 校验模型 */
    @Excel(name = "校验模型")
    private String formRules;

    /** 表单尺寸 */
    @Excel(name = "表单尺寸")
    private String size;

    /** 标签对齐 */
    @Excel(name = "标签对齐")
    private String labelPosition;

    /** 标签宽度 */
    @Excel(name = "标签宽度")
    private Long labelWidth;

    /** 栅格间隔 */
    @Excel(name = "栅格间隔")
    private Long gutter;

    /** 禁用表单 */
    @Excel(name = "禁用表单")
    private String disabled;

    /** 显示未选中组件边框 */
    @Excel(name = "显示未选中组件边框")
    private String unFocusedComponentBorder;

    /** 表单加载完成后执行逻辑 */
    @Excel(name = "表单加载完成后执行逻辑")
    private String formInit;

    /** 表单关闭前执行逻辑 */
    @Excel(name = "表单关闭前执行逻辑")
    private String formClose;

    /** 记录标识__新增数据时，生成的唯一值 */
    private String defPk;

    /** 默认与主表关联值 */
    private String defFk;

    /** 删除标记 */
    private String delFlag;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBuildKey(String buildKey)
    {
        this.buildKey = buildKey;
    }

    public String getBuildKey()
    {
        return buildKey;
    }
    public void setFormRef(String formRef)
    {
        this.formRef = formRef;
    }

    public String getFormRef()
    {
        return formRef;
    }
    public void setFormModel(String formModel)
    {
        this.formModel = formModel;
    }

    public String getFormModel()
    {
        return formModel;
    }
    public void setFormRules(String formRules)
    {
        this.formRules = formRules;
    }

    public String getFormRules()
    {
        return formRules;
    }
    public void setSize(String size)
    {
        this.size = size;
    }

    public String getSize()
    {
        return size;
    }
    public void setLabelPosition(String labelPosition)
    {
        this.labelPosition = labelPosition;
    }

    public String getLabelPosition()
    {
        return labelPosition;
    }
    public void setLabelWidth(Long labelWidth)
    {
        this.labelWidth = labelWidth;
    }

    public Long getLabelWidth()
    {
        return labelWidth;
    }
    public void setGutter(Long gutter)
    {
        this.gutter = gutter;
    }

    public Long getGutter()
    {
        return gutter;
    }
    public void setDisabled(String disabled)
    {
        this.disabled = disabled;
    }

    public String getDisabled()
    {
        return disabled;
    }
    public void setUnFocusedComponentBorder(String unFocusedComponentBorder)
    {
        this.unFocusedComponentBorder = unFocusedComponentBorder;
    }

    public String getUnFocusedComponentBorder()
    {
        return unFocusedComponentBorder;
    }
    public void setFormInit(String formInit)
    {
        this.formInit = formInit;
    }

    public String getFormInit()
    {
        return formInit;
    }
    public void setFormClose(String formClose)
    {
        this.formClose = formClose;
    }

    public String getFormClose()
    {
        return formClose;
    }
    public void setDefPk(String defPk)
    {
        this.defPk = defPk;
    }

    public String getDefPk()
    {
        return defPk;
    }
    public void setDefFk(String defFk)
    {
        this.defFk = defFk;
    }

    public String getDefFk()
    {
        return defFk;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("buildKey", getBuildKey())
            .append("formRef", getFormRef())
            .append("formModel", getFormModel())
            .append("formRules", getFormRules())
            .append("size", getSize())
            .append("labelPosition", getLabelPosition())
            .append("labelWidth", getLabelWidth())
            .append("gutter", getGutter())
            .append("disabled", getDisabled())
            .append("unFocusedComponentBorder", getUnFocusedComponentBorder())
            .append("formInit", getFormInit())
            .append("formClose", getFormClose())
            .append("remark", getRemark())
            .append("defPk", getDefPk())
            .append("defFk", getDefFk())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
